﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace HMS_TabletClient
{
    public partial class Table1 : Form
    {
        DataTable dt = new DataTable();
        public Table1()
        {
            InitializeComponent();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void pictureBox2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void Table1_Load(object sender, EventArgs e)
        {
            dateTimePicker1.Value = System.DateTime.Now;
            dataGridView1.RowHeadersVisible = false;

            dt.Columns.Add("查房时间", typeof(System.DateTime));
            dt.Columns.Add("查房组长", typeof(System.String));
            dt.Columns.Add("查房等级", typeof(System.String));
            dataGridView1.DataSource = dt;
        }
    }
}
